package com.woniu.auth.entity;


import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

    private Integer userId;

    private String username;

    @JsonIgnore //对象与json互转时忽略该字段
    private String password;

    private String status;

}
